home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 4
/
Aminet 4 - November 1994.iso
/
aminet
/
comm
/
uucp
/
wcnews_1_0_30.lha
/
man
/
active.times.man
next >
Wrap
Text File
|
1994-01-04
|
2KB
|
67 lines
ACTIVE.TIMES(5) ACTIVE.TIMES(5)
1mNAME22m
active.times - newsgroup creation times and creators
1mDESCRIPTION22m
The 4mactive.times24m file records the arrival of new news
groups by time and creator. This provides a quick way for
newsreaders to tell when new groups have arrived, without
weird heuristics and time/space expensive schemes like
storing old lists of newsgroups and comparing them to the
4mactive24m file.
When a new newsgroup is created by C News, via
4m/usr/lib/newsbin/ctl/newgroup24m or
4m/usr/lib/newsbin/maint/addgroup24m, the group name, time of
group creation, and identity of the creator are appended
to the 4m/usr/lib/news/active.times24m file. The time is that
returned by 4m/usr/lib/newsbin/maint/getdate24m and on Unix
systems is the number of seconds since January 1, 1970,
00:00, GMT. The identity of the creator is taken from the
1mSender:22m or 1mFrom:22m headers in the control message for groups
added with 4m/usr/lib/newsbin/ctl/newgroup24m, and from the
environment variable USER (if any; the default identity is
``unknown'') for groups created with
4m/usr/lib/newsbin/maint/addgroup24m.
Each line in the file is of the form
1mnewsgroup22m 1mcreationtime22m 1mcreator22m
The file must always be sorted in increasing order of the
creationtime field. The scripts only append to the file,
which normally suffices to ensure this. (It is assumed
that time on the machine does not jump backward!)
An initial version of 4mactive.times24m for already existing
newsgroups, with all times equal to the time of its cre
ation and all creators ``unknown'', can be built using
4m/usr/lib/newsbin/maint/act.to.times24m (see 4mnewsmaint24m(8)).
1mFILES22m
/usr/lib/news/active.times
/usr/lib/newsbin/maint/addgroup
/usr/lib/newsbin/maint/act.to.times
/usr/lib/newsbin/ctl/newgroup
1mHISTORY22m
Conceived and implemented by Mark Moraes and Geoff Collyer
as part of the C News project.
8 May 1990 1